package org.zfes.snowier.cloud.zbss.pmp.dto;
import java.io.Serializable;

public class PmpTasksUpdateDto implements Serializable{

	private static final long serialVersionUID = 1L;
	
	public PmpTasksUpdateDto() {}

	//<-------------------------------------------->
 

	@javax.validation.constraints.NotNull(message="所属项目不能为空")
	private java.lang.Long id;
	
	@javax.validation.constraints.NotBlank(message="任务名称不能为空")
	@javax.validation.constraints.NotNull(message="任务名称不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="任务名称长度不能大于255")
	  private java.lang.String taskName;
	

	  private java.lang.Long chargeUserId;
	
	@javax.validation.constraints.NotNull(message="截止时间不能为空")
	  private java.util.Date expiryTime;
	@javax.validation.constraints.NotNull(message="评估时间不能为空")
	  private java.lang.Integer assignHours;

	@javax.validation.constraints.NotNull(message="难度系数不能为空")
	  private java.lang.Long difficultyScoreId;

//	@javax.validation.constraints.NotBlank(message="任务详情不能为空")
//	@javax.validation.constraints.NotNull(message="任务详情不能为空")
//	@org.hibernate.validator.constraints.Length(min=0,max=2147483647,message="任务详情长度不能大于2,147,483,647")
	  private java.lang.String taskDetail;
	
	//需求只在当前版本--任务可以自由选择版本
	private java.lang.Long projectVersionId;
	
	 
	  private java.lang.Byte priority;
	//<-------------------------------------------->
	
	public PmpTasksUpdateDto setTaskName(java.lang.String taskName){
		this.taskName=taskName==null?null:taskName.trim();
	 return this;
	}
	public java.lang.String getTaskName(){
		return this.taskName;
	}

	public PmpTasksUpdateDto setChargeUserId(java.lang.Long chargeUserId){
	 this.chargeUserId=chargeUserId;
	 return this;
	}
	public java.lang.Long getChargeUserId(){
		return this.chargeUserId;
	}
	
	public PmpTasksUpdateDto setExpiryTime(java.util.Date expiryTime){
	 this.expiryTime=expiryTime;
	 return this;
	}
	public java.util.Date getExpiryTime(){
		return this.expiryTime;
	}
	public PmpTasksUpdateDto setAssignHours(java.lang.Integer assignHours){
	 this.assignHours=assignHours;
	 return this;
	}
	public java.lang.Integer getAssignHours(){
		return this.assignHours;
	}
	
	public PmpTasksUpdateDto setDifficultyScoreId(java.lang.Long difficultyScoreId){
	 this.difficultyScoreId=difficultyScoreId;
	 return this;
	}
	public java.lang.Long getDifficultyScoreId(){
		return this.difficultyScoreId;
	}
	
	
	public PmpTasksUpdateDto setTaskDetail(java.lang.String taskDetail){
		this.taskDetail=taskDetail==null?null:taskDetail.trim();
	 return this;
	}
	public java.lang.String getTaskDetail(){
		return this.taskDetail;
	}
	public java.lang.Long getProjectVersionId() {
		return projectVersionId;
	}
	public PmpTasksUpdateDto setProjectVersionId(java.lang.Long projectVersionId) {
		this.projectVersionId = projectVersionId;
		 return this;
	}
	public java.lang.Long getId() {
		return id;
	}
	public void setId(java.lang.Long id) {
		this.id = id;
	}
	public java.lang.Byte getPriority() {
		return priority;
	}
	public PmpTasksUpdateDto setPriority(java.lang.Byte priority) {
		this.priority = priority;
		 return this;
	}
}
